using System;
using System.Windows.Forms;

namespace GeneralLibs
{
    public partial class FrmInLuuSuaDong : FrmClose
    {
        public FrmInLuuSuaDong()
        {
            InitializeComponent();
        }

        protected virtual void btnEdit_Click(object sender, EventArgs e)
        {

        }

        protected virtual void btnSave_Click(object sender, EventArgs e)
        {

        }

        protected virtual void btnPrint_Click(object sender, EventArgs e)
        {

        }

        protected override bool ProcessCmdKey(ref Message msg, Keys keyData)
        {
            switch (keyData)
            {            
                case Keys.F7:
                    btnPrint_Click(this, null);
                    break;
                case Keys.F2:
                    btnSave_Click(this, null);
                    break;
                case Keys.F3:
                    btnEdit_Click(this, null);
                    break;
            }
            return base.ProcessCmdKey(ref msg, keyData);
        }
    }
}

